<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=<?=$this->config->item('charset');?>">
	<title>用户登录_爱厨房</title>

	<meta name="description" content="{$seo_description}" />
	<meta name="keywords" content="{$seo_keywords}" />
	<link href="<?=base_url('static/css/global.css')?>" rel="stylesheet" type="text/css" media="screen">
	<link href="<?=base_url('static/css/login.css')?>" rel="stylesheet" type="text/css" media="screen">

	<script src="<?=path_res('static/js/jquery.js')?>"></script>
	<script src="<?=path_res('static/js/jquery-ui.min.js')?>"></script>
	<script src="<?=path_res('static/js/tempo.min.js')?>"></script>
	<script src="<?=path_res('static/js/functions.js')?>"></script>
	<script src="<?=path_res('static/js/jquery.autocomplete-min.js')?>"></script>
</head>
<body>
<? $this->load->view('header'); ?>

<style>
.bdnewb {text-align: center;padding-top: 20px;}
.bdnewb h2 {font-size: 20px;}
</style>
<div id="main" class="clearfix">
  	<div class="bdnewb">
		<h2 class="mbs fhts">完善资料</h2>
	</div>
    <div class="otlogin" id="01">
      <form action="<?php echo site_url('social/bind/'.$vendor);?>" method="post">
      <div class="otright">       
	   <div class="itm mtl clearfix">
			<label>昵称</label>
			<div class="iput"><input id="nickname" name="nickname" value="<?php echo $screen_name;?>" class="retext" maxlength="20" type="text"></div>
			<span class="lowrong2 mll"><?php echo form_error('nickname'); ?></span> 
        </div>       
        <div class="itm mtl clearfix">
			<label>密码</label>
			<div class="iput"><input id="pwd" name="password" value="" class="retext" maxlength="20" type="password" onkeydown="if(event.keyCode=='32'){return false;}"></div>
			<span class="lowrong2 mll"></span> 
        </div>
		<div class="itm mtl clearfix">
			<label>确认密码</label>
			<div class="iput"><input id="dpassword" name="dpassword"  value="" class="retext" maxlength="20" type="password" onkeydown="if(event.keyCode=='32'){return false;}">
			<span class="mtm dblok"><input name="is_remember" type="checkbox" id="is_remember" checked="checked" class="czl"> 我已阅读并且同意<a href="#" target="_blank" title="用户协议">爱厨房使用协议</a></span><span class="lowrong2 mll"></span>
			</div>
			<span class="lowrong2 mll"></span> 
        </div>
        <div class="iloo pt30">
        <button type="submit" class="btnlo fwb">确定</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:void(0);" onclick="$('#01').fadeOut(800,function(){$('#02').fadeIn(800)});">已有账号</a>
        </div>
      </div>      
    </div>
	</form>

	<div class="otlogin" id="02" style="display:none;">
      <form action="<?php echo site_url('social/bangding/'.$vendor);?>" method="post">
      <div class="mrm">
        <!--<div class="fryd" style="background-image: url();"></div>-->
      </div>
      <div class="otright">
        <h2 class="mbm">你好  <?php echo $screen_name;?> ，欢迎来到爱厨房！</h2>
        <span class="oshs">绑定你的账号。</span>
        <div class="itm mtm clearfix">
        <label>邮箱</label>
        <div class="iput"><input id="bd_email" name="bd_email" value="" class="retext" type="text"></div>
        <span class="lowrong2 mll"></span>
        </div>
        <div class="itm mtl clearfix">
        <label>密码</label>
        <div class="iput"><input id="bd_passwd" name="bd_passwd" value="" class="retext" maxlength="20" type="password"></div>
        <span class="lowrong2 mll"></span>
        </div>
        <div class="iloo">
        <button type="submit" id="bd_btn" class="btnlo fwb" >绑定</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:void(0);" onclick="$('#02').fadeOut(800,function(){$('#01').fadeIn(800)});">没有账号</a>
        </div>
      </div>
    </div>
    </form>
</div>
<? $this->load->view('footer'); ?>